import 'package:flutter/material.dart';
import 'package:get/get.dart';

class GetXListController extends GetxController {
  RxList list = [].obs;

  add(){
    list.add(0);
    update();
  }
  remove(){
    list.removeLast();
    update();
  }
  clear(){
    list.clear();
    update();
  }
}